package com.ctbri.containerindepth;

import java.util.ArrayList;
import java.util.Collections;
import java.util.LinkedList;
import java.util.List;

import com.ctbri.util.Countries;

public class Ex1 {

	public static void main(String[] args) {
		List<String> list1 = new ArrayList<>(Countries.names());
		List<String> list2 = new LinkedList<>(Countries.names());
		
		System.out.println(list1);
		System.out.println(list2);
		
		Collections.shuffle(list1);
		Collections.shuffle(list2);
		
		System.out.println(list1);
		System.out.println(list2);
	}

}
